package zzps.exeed.web.handle;

import zzps.exeed.web.servlet.ExeedServletContext;

public class ContextHolder {

    private static final ThreadLocal<ExeedServletContext> contextLocal = new InheritableThreadLocal<>();

    public static void set(ExeedServletContext context){
        contextLocal.set(context);
    }
    public static ExeedServletContext get(){
        return contextLocal.get();
    }
    public static void remove(){
        contextLocal.remove();
    }
}
